package com.yuwubao.uav.tool.service;

import com.yuwubao.framework.bean.PageData;

import java.util.List;

/**
 *
 */
public interface PaternerService {

    void deletePaterner(PageData pageData) throws Exception;
    void disableOrEnablePaterner(PageData pageData) throws Exception;
    void updatePaterner(PageData pageData) throws Exception;
    void addPaterner(PageData pageData) throws Exception;
    List<PageData> listPaterner(PageData pageData) throws Exception;
    int listPaternerCount(PageData pageData) throws Exception;

    void deletePaternerType(PageData pageData) throws Exception;
    void disableOrEnablePaternerType(PageData pageData) throws Exception;
    void updatePaternerType(PageData pageData) throws Exception;
    void addPaternerType(PageData pageData) throws Exception;
    List<PageData> listPaternerType(PageData pageData) throws Exception;
    List<PageData> listPaternerTypeAll(PageData pageData) throws Exception;
    int listPaternerTypeCount(PageData pageData) throws Exception;

    int getPaternerByName(PageData pageData) throws Exception;
    int getPaternerTypeByName(PageData pageData) throws Exception;

}
